package cn.smile.service;

import cn.smile.pojo.User;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: MaoSuyu
 * @User：John
 * @Date: 2019/7/4
 * @Time: 19:49
 * @Description: No Description
 */
public interface RoleService {

    /**
     * 根据id查询角色
     * @param user
     * @return
     */
    List<String> findRoleById(User user);

    /**
     * 查询全部角色
     * @return
     */
    List<String> findAll();

}
